Parameters
- key
Property Value
The value associated with the specified key. If the specified key is not found, a get operation throws a System.Collections.Generic.KeyNotFoundException, and a set operation creates a new element with the specified key.Exception | Description |
---|---|
System.ArgumentNullException | key is null. |
System.Collections.Generic.KeyNotFoundException | The property is retrieved and key does not exist in the collection. |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family